package com.code.generator.model;


public class ColumnData {
    private String columnName;
    private String domainPropertyName;
    private String dataType;
    private String columnComment;
    private String columnType;
    private String charmaxLength = "";
    private boolean isNullAble;
    private String scale;
    private String precision;
    private String jdbcDataType;
    private boolean generateDomain = true;
    private boolean generatePage = true;
    private boolean needSum = false;
    private boolean autoIncrement = false;
    private boolean keyColumn = false;
    private boolean isQueryColumn = true;
    private boolean isListColumn = true;
    private boolean isCanUpdate = true;
    private boolean isShowDetail = true;

    public ColumnData() {
    }

    public String getColumnName() {
        return this.columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return this.dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getColumnComment() {
        return this.columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getScale() {
        return this.scale;
    }

    public String getPrecision() {
        return this.precision;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public void setPrecision(String precision) {
        this.precision = precision;
    }

    public String getCharmaxLength() {
        return this.charmaxLength;
    }

    public void setCharmaxLength(String charmaxLength) {
        this.charmaxLength = charmaxLength;
    }

    public String getColumnType() {
        return this.columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getDomainPropertyName() {
        return this.domainPropertyName;
    }

    public void setDomainPropertyName(String domainPropertyName) {
        this.domainPropertyName = domainPropertyName;
    }

    public String getJdbcDataType() {
        return this.jdbcDataType;
    }

    public void setJdbcDataType(String jdbcDataType) {
        this.jdbcDataType = jdbcDataType;
    }

    public boolean isGenerateDomain() {
        return this.generateDomain;
    }

    public void setGenerateDomain(boolean generateDomain) {
        this.generateDomain = generateDomain;
    }

    public boolean isGeneratePage() {
        return this.generatePage;
    }

    public void setGeneratePage(boolean generatePage) {
        this.generatePage = generatePage;
    }

    public boolean isNeedSum() {
        return this.needSum;
    }

    public void setNeedSum(boolean needSum) {
        this.needSum = needSum;
    }

    public boolean isAutoIncrement() {
        return this.autoIncrement;
    }

    public void setAutoIncrement(boolean autoIncrement) {
        this.autoIncrement = autoIncrement;
    }

    public boolean isKeyColumn() {
        return this.keyColumn;
    }

    public void setKeyColumn(boolean keyColumn) {
        this.keyColumn = keyColumn;
    }

    public boolean isQueryColumn() {
        return this.isQueryColumn;
    }

    public void setQueryColumn(boolean isQueryColumn) {
        this.isQueryColumn = isQueryColumn;
    }

    public boolean isListColumn() {
        return this.isListColumn;
    }

    public void setListColumn(boolean isListColumn) {
        this.isListColumn = isListColumn;
    }

    public boolean isCanUpdate() {
        return this.isCanUpdate;
    }

    public void setCanUpdate(boolean isCanUpdate) {
        this.isCanUpdate = isCanUpdate;
    }

    public boolean isShowDetail() {
        return this.isShowDetail;
    }

    public void setShowDetail(boolean isShowDetail) {
        this.isShowDetail = isShowDetail;
    }

    public boolean isNullAble() {
        return this.isNullAble;
    }

    public void setNullAble(boolean isNullAble) {
        this.isNullAble = isNullAble;
    }
}

